package com.yhh.Entity;

import com.yhh.Exceptions.InstructionException;
import com.yhh.Exceptions.LocalCommandException;
import com.yhh.Exceptions.NonInstructionException;

import java.util.Map;

public interface HandlerCommand {
    /**
     * 处理操作
     *
     * @param args
     * @throws InstructionException    指令非法
     * @throws NonInstructionException 没有指令
     * @throws LocalCommandException   本地指令
     */
    public void handlerCommand(Map<String, String> args) throws InstructionException, NonInstructionException, LocalCommandException;
}
